package logic.bean;

import java.io.Serializable;
import java.util.List;


public class BookBlock
        implements
        Serializable
{
	private static final long serialVersionUID = 146057907232713718L;
	private String            blockTypeName;
	private List<BookInfo>    bookInfos;
	private int               blockId;
	private int               blockTypeId;
	private int               firstColumnId;
	
	public BookBlock() {
	    super();
    }
	
	public BookBlock(String blockTypeName, int blockId, int blockTypeId, int firstColumnId) {
	    super();
	    this.blockTypeName = blockTypeName;
	    this.blockId = blockId;
	    this.blockTypeId = blockTypeId;
	    this.firstColumnId = firstColumnId;
    }

	public String getBlockTypeName() {
		return blockTypeName;
	}
	public void setBlockTypeName(String blockTypeName) {
		this.blockTypeName = blockTypeName;
	}
	public List<BookInfo> getBookInfos() {
		return bookInfos;
	}
	public void setBookInfos(List<BookInfo> bookInfos) {
		this.bookInfos = bookInfos;
	}
	public int getBlockId() {
		return blockId;
	}
	public void setBlockId(int blockId) {
		this.blockId = blockId;
	}
	public int getBlockTypeId() {
		return blockTypeId;
	}
	public void setBlockTypeId(int blockTypeId) {
		this.blockTypeId = blockTypeId;
	}
	public int getFirstColumnId() {
		return firstColumnId;
	}
	public void setFirstColumnId(int firstColumnId) {
		this.firstColumnId = firstColumnId;
	}
	@Override
    public String toString() {
	    return "BookBlock [blockTypeName=" + blockTypeName + ", bookInfos=" + bookInfos + ", blockId=" + blockId + ", blockTypeId=" + blockTypeId + ", firstColumnId=" + firstColumnId + "]";
    }
	
	
	
}
